package model

import "gorm.io/gorm"

type Consult struct {
	gorm.Model
	UserId       int64  `gorm:"type:int; not null; comment:'用户Id'"`
	DockerId     int64  `gorm:"type:int; not null; comment:'医生Id'"`
	DepartmentId int64  `gorm:"type:int; not null; comment:'科室Id'"`
	Type         int    `gorm:"type:int; not null; comment:'0 - 文字问诊，1 - 图文问诊'"`
	Desc         string `gorm:"type:text; comment:'病例描述'"`
	Status       int64  `gorm:"type:int; not null; comment:'0 - 待接诊，1 - 问诊中，2 - 已结束，3 - 已取消'"`
}
